//
//  FGStatusToolBar.swift
//  飞哥大微博
//
//  Created by huangfei on 2017/6/11.
//  Copyright © 2017年 huangfei. All rights reserved.
//

import UIKit

class FGStatusToolBar: UIView {

    var viewModel:FGStatusViewModel? {
        didSet {
            retweetedButton.setTitle(viewModel?.retweetedStr, for: .normal)
            commentButton.setTitle(viewModel?.commentStr, for: .normal)
            likeButton.setTitle(viewModel?.likeStr, for: .normal)
        }
    }
    
    /// 转发
    @IBOutlet weak var retweetedButton: UIButton!
    /// 评论
    @IBOutlet weak var commentButton: UIButton!
    /// 点赞
    @IBOutlet weak var likeButton: UIButton!
}
